package com.joinlabs.entity;

import java.util.Date;
import java.util.List;

public class Comment {
    private Long commentId;

    private Long weiboId;

    private Long logId;

    private Long userId;

    private String commentContent;

    private Date commentTime;

    private Long commentZannum;

    private Long commentedId;
    
    
    
    private User user; //评论人信息
    private List<Comment> commentlist;
   private Comment comm;

	public Comment getComm() {
	return comm;
}

public void setComm(Comment comm) {
	this.comm = comm;
}

	public List<Comment> getCommentlist() {
		return commentlist;
	}

	public void setCommentlist(List<Comment> commentlist) {
		this.commentlist = commentlist;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Long getCommentId() {
        return commentId;
    }

    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }

    public Long getWeiboId() {
        return weiboId;
    }

    public void setWeiboId(Long weiboId) {
        this.weiboId = weiboId;
    }

    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent == null ? null : commentContent.trim();
    }

    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }

    public Long getCommentZannum() {
        return commentZannum;
    }

    public void setCommentZannum(Long commentZannum) {
        this.commentZannum = commentZannum;
    }

    public Long getCommentedId() {
        return commentedId;
    }

    public void setCommentedId(Long commentedId) {
        this.commentedId = commentedId;
    }

	@Override
	public String toString() {
		return "Comment [commentId=" + commentId + ", weiboId=" + weiboId + ", logId=" + logId + ", userId=" + userId
				+ ", commentContent=" + commentContent + ", commentTime=" + commentTime + ", commentZannum="
				+ commentZannum + ", commentedId=" + commentedId + ", user=" + user + ", commentlist=" + commentlist
				+ ", comm=" + comm + "]";
	}

	
    
}